/**
 *  Copyright (c)  2011-2020 Panguso, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Panguso, 
 *  Inc. ("Confidential Information"). You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into with Panguso.
 */

package storage.dbobject;

import java.util.ArrayList;
import java.util.UUID;
/**
 * 
 * @author fenyo rome
 *
 */
public class DbBusinessPattern {
	/**
	 * cl_key
	 */
	public static final String CL_KEY = "KEY";
	private String rowKey;
	/**
	 * cl_name
	 */
	public static final String CL_NAME = "name";
	private String name;
	/**
	 * cl_product
	 */
	public static final String CL_PRODUCT = "product";
	private String product;
	/**
	 * cl_mainCaseID
	 */
	public static final String CL_MAINCASEID = "mainCaseID";
	private String mainCaseID;
	/**
	 * cl_timeStamp
	 */
	public static final String CL_TIMESTAMP = "timeStamp";
	private String timeStamp;
	/**
	 * cl_updateTime
	 */
	public static final String CL_UPDATETIME = "updateTime";
	private String updateTime;
	/**
	 * cl_caseID
	 */
	public static final String CL_CASEID = "caseID";
	private ArrayList<String> caseIDList;
	/**
	 * cl_activity
	 */
	public static final String CL_ACTIVITY = "activity";
	private ArrayList<String> activityList;
	/**
	 * cl_attribute
	 */
	public static final String CL_ATTRIBUTE = "attribute";
	private ArrayList<String> attributeList;
	/**
	 * cl_classifyTag
	 */
	public static final String CL_CLASSIFYTAG = "classifytag";
	private String classifytag;
	/**
	 * 
	 * @param rowKey
	 * rowKey
	 * @param name
	 * name
	 * @param product
	 * product
	 * @param mainCaseID
	 * mainCaseID
	 * @param timeStamp
	 * timeStamp
	 * @param updateTime
	 * updateTime
	 * @param caseIDList
	 * caseIDList
	 * @param activityList
	 * activityList
	 * @param attributeList
	 * attributeList
	 * @param classifytag
	 * classifytag
	 */
	public DbBusinessPattern(String rowKey, String name, String product,
			String mainCaseID, String timeStamp, String updateTime,
			ArrayList<String> caseIDList, ArrayList<String> activityList,
			ArrayList<String> attributeList, String classifytag) {
		this.rowKey = rowKey;
		this.name = name;
		this.product = product;
		this.mainCaseID = mainCaseID;
		this.timeStamp = timeStamp;
		this.updateTime = updateTime;
		this.caseIDList = caseIDList;
		this.activityList = activityList;
		this.attributeList = attributeList;
		this.classifytag = classifytag;
	}
	/**
	 * 
	 * @param name
	 * name
	 * @param product
	 * product
	 * @param mainCaseID
	 * mainCaseID
	 * @param timeStamp
	 * mainCaseID
	 * @param updateTime
	 * updateTime
	 * @param caseIDList
	 * caseIDList
	 * @param activityList
	 * activityList
	 * @param attributeList
	 * attributeList
	 * @param classifytag
	 * classifytag
	 */
	public DbBusinessPattern(String name, String product, String mainCaseID,
			String timeStamp, String updateTime, ArrayList<String> caseIDList,
			ArrayList<String> activityList, ArrayList<String> attributeList,
			String classifytag) {
		this.rowKey = UUID.randomUUID().toString();
		this.name = name;
		this.product = product;
		this.mainCaseID = mainCaseID;
		this.timeStamp = timeStamp;
		this.updateTime = updateTime;
		this.caseIDList = caseIDList;
		this.activityList = activityList;
		this.attributeList = attributeList;
		this.classifytag = classifytag;
	}

	/**
	 * @return the rowKey
	 */
	public String getRowKey() {
		return rowKey;
	}

	/**
	 * @param rowKey
	 *            the rowKey to set
	 */
	public void setRowKey(String rowKey) {
		this.rowKey = rowKey;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the product
	 */
	public String getProduct() {
		return product;
	}

	/**
	 * @param product
	 *            the product to set
	 */
	public void setProduct(String product) {
		this.product = product;
	}

	/**
	 * @return the mainCaseID
	 */
	public String getMainCaseID() {
		return mainCaseID;
	}

	/**
	 * @param mainCaseID
	 *            the mainCaseID to set
	 */
	public void setMainCaseID(String mainCaseID) {
		this.mainCaseID = mainCaseID;
	}

	/**
	 * @return the timeStamp
	 */
	public String getTimeStamp() {
		return timeStamp;
	}

	/**
	 * @param timeStamp
	 *            the timeStamp to set
	 */
	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

	/**
	 * @return the updateTime
	 */
	public String getUpdateTime() {
		return updateTime;
	}

	/**
	 * @param updateTime
	 *            the updateTime to set
	 */
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * @return the caseIDList
	 */
	public ArrayList<String> getCaseIDList() {
		return caseIDList;
	}

	/**
	 * @param caseIDList
	 *            the caseIDList to set
	 */
	public void setCaseIDList(ArrayList<String> caseIDList) {
		this.caseIDList = caseIDList;
	}

	/**
	 * @return the activityList
	 */
	public ArrayList<String> getActivityList() {
		return activityList;
	}

	/**
	 * @param activityList
	 *            the activityList to set
	 */
	public void setActivityList(ArrayList<String> activityList) {
		this.activityList = activityList;
	}

	/**
	 * @return the attributeList
	 */
	public ArrayList<String> getAttributeList() {
		return attributeList;
	}

	/**
	 * @param attributeList
	 *            the attributeList to set
	 */
	public void setAttributeList(ArrayList<String> attributeList) {
		this.attributeList = attributeList;
	}

	/**
	 * @return the classfitytag
	 */
	public String getClassifytag() {
		return classifytag;
	}

	/**
	 * @param classifytag
	 *            the classfitytag to set
	 */
	public void setClassifytag(String classifytag) {
		this.classifytag = classifytag;
	}

}
